package com.atguigu.guli.service.trade.service;


import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.trade.service.impl.EduFeignClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "service-eud",fallback = EduFeignClientFallback.class)
public interface EduFeignClient {

    @PutMapping("/api/edu/course/updateSales/{courseId}")
    public R updateSales(@PathVariable String courseId);
}
